<!--show detail page create by pionner at Wed Dec 17 09:16:13 CST 2008-->
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>预约没有注射</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel='stylesheet' href='css/style.css'>
	<link rel="stylesheet" type="text/css" media="all" href="<%=path%>/js/calendar/calendar-win2k-cold-1.css" title="win2k-cold-1" />
    <script type="text/javascript" src="<%=path%>/js/calendar/calendar.js"></script>
	<script type="text/javascript" src="<%=path%>/js/calendar/calendar-setup.js"></script>
	<script type="text/javascript" src="<%=path%>/js/calendar/calendar-zh1.js"></script>

  </head>
  
  <body>
  <table width="100%" height="100%">
  	<tr><td>
  		<table width='200' border='0' cellspacing='0' cellpadding='0'>
			<tr>
				<td width='90'><img src='images/loc-head.jpg' width='90' height='24'></td>
				<td valign='middle' nowrap background='images/loc-bg.jpg' class="title"> 没有注射情况检索</td>
				<td width='12'><img src='images/loc-tail.jpg' width='12' height='24'></td>
			</tr>
		</table>
    <form name="searchfrm" action="peopleSearch.action" class="" target="showsearchp">
    	
    	<table>
    		<tr>
    			<td class="label">
    			姓名：<input class="input130" name="userName" id="userName"/>
				出生年月：<input class="input130" name="startDate" id="startDate"/>
    			  至<input class="input130" name="endDate" id="endDate"/>
接种时间：<input class="input130" name="ystartDate" id="ystartDate"/>
    			  至<input class="input130" name="yendDate" id="yendDate"/>
    			 <input class="searchbtn"  type="button" value="搜索" onclick="search()"/>
    			 </td>
    		</tr>
    	</table>
    </form>
    <hr>
  	</td></tr>
  	<tr height="90%"><td>
  		<iframe width="100%" height="100%" src="blank.jsp" name="showsearchp" frameborder="0"></iframe>
  	
  	</td></tr>
  </table>
  
    
  </body>
</html>

<script type="text/javascript">
function clearbaterin(){
	document.getElementById('bacterinName').value='';
	document.getElementById('bacterinId').value='';
}
function search(){
	
		document.all.searchfrm.submit();
	
}

Calendar.setup(
		    {
		      inputField  : 'startDate',         // ID of the input field
		      ifFormat    : "%Y-%m-%d",    // the date format
		      //onSelect   : onSelect,
		      showsTime : false
		    }
		  );
		  Calendar.setup(
		    {
		      inputField  : 'endDate',         // ID of the input field
		      ifFormat    : "%Y-%m-%d",    // the date format
		      //onSelect   : onSelect,
		      showsTime : false
		    }
		  );
		   Calendar.setup(
		    {
		      inputField  : 'yendDate',         // ID of the input field
		      ifFormat    : "%Y-%m-%d",    // the date format
		      //onSelect   : onSelect,
		      showsTime : false
		    }
		  );
		   Calendar.setup(
		    {
		      inputField  : 'ystartDate',         // ID of the input field
		      ifFormat    : "%Y-%m-%d",    // the date format
		      //onSelect   : onSelect,
		      showsTime : false
		    }
		  );


		  function openTargetName(){
    		var title = ""; 
		var url = 'targetNameList.action';
		var pageUrl="targetNameList.action";
		var paraObj = new Object();
		paraObj.url=url;
		paraObj.title=title;
		var obj=document.getElementById('targetBacterinName');
		var targetBacterin=document.getElementById('targetBacterin');
		paraObj.input=obj;
		var sFeatures = 'help:no;status:1;dialogHeight:500px;dialogWidth:350px;center:1';
	    var rtnObj= window.showModalDialog(pageUrl,paraObj,sFeatures );
	    //alert('rtnObj='+rtnObj);
		if(rtnObj){
			var result=rtnObj.result;
			obj.value=result;
			targetBacterin.value=rtnObj.target;
		}else{
    		
    	}
    	}

</script>
